#include "CBL_Event.h"

CB_NAMESPACE_START

// -------------------------------------------------------------------------------------------------
//	CQueuedListener
// -------------------------------------------------------------------------------------------------

int32 CQueuedListener::Push(const EventPtr& _rEvent)
{
    m_EventQueue.push_back(_rEvent);
    return 0;
}

// -------------------------------------------------------------------------------------------------
//	CPriorityListener
// -------------------------------------------------------------------------------------------------

int32 CPriorityListener::Push(const EventPtr& _rEvent)
{
    m_EventQueue.push(_rEvent);
    return 0;
}

CB_NAMESPACE_END